import request from '@/utils/request'

// 区域月取水量填报-列表查询
const fillInMonthlyWaterIntakeList = function (params = {}) {
  return request({
    url: '/zy-api/api/regionalWaterIntake/getRegionalWaterIntakeList',
    method: 'post',
    data: params
  })
}

// 根据ID查询-区域月取水量填报
const monthlyWaterIntakeDetails = function (params = {}) {
  return request({
    url: '/zy-api/api/regionalWaterIntake/getRegionalWaterIntakeId',
    method: 'post',
    data: params
  })
}

// 新增-区域月取水量
const addMonthlyWaterIntake = function (params = {}) {
  return request({
    url: '/zy-api/api/regionalWaterIntake/addRegionalWaterIntake',
    method: 'post',
    data: params
  })
}

// 编辑-区域月取水量
const editMonthlyWaterIntake = function (params = {}) {
  return request({
    url: '/zy-api/api/regionalWaterIntake/updRegionalWaterIntake',
    method: 'post',
    data: params
  })
}

// 删除-区域月取水量
const delMonthlyWaterIntake = function (params = {}) {
  return request({
    url: '/zy-api/api/regionalWaterIntake/delRegionalWaterIntake',
    method: 'post',
    data: params
  })
}

// 导出-区域月取水量列表
const exportFillInMonthlyWaterIntakeList = function (params = {}) {
  return request({
    url: '/zy-api/api/regionalWaterIntake/exportRegionalWaterIntake',
    method: 'post',
    data: params
  })
}

export {
  fillInMonthlyWaterIntakeList,
  monthlyWaterIntakeDetails,
  addMonthlyWaterIntake,
  editMonthlyWaterIntake,
  delMonthlyWaterIntake,
  exportFillInMonthlyWaterIntakeList
}